<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      DejaGnu-1.6.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;13.&nbsp;Programming
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="cmake.html" title="CMake-3.16.4">Prev</a>
          <p>
            CMake-3.16.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="doxygen.html" title=
          "Doxygen-1.8.17">Next</a>
          <p>
            Doxygen-1.8.17
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="dejagnu" name="dejagnu"></a>DejaGnu-1.6.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to DejaGnu
        </h2>
        <p>
          <span class="application">DejaGnu</span> is a framework for running
          test suites on GNU tools. It is written in <span class=
          "command"><strong>expect</strong></span>, which uses <span class=
          "application">Tcl</span> (Tool command language). It was installed
          by LFS in the temporary <code class="filename">/tools</code>
          directory. These instructions install it permanently.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz">https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz">ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: e1b07516533f351b3aba3423fafeffd6
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 516 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 3.4 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          DejaGnu Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="expect.html" title=
          "Expect-5.45.4">Expect-5.45.4</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../pst/docbook-utils.html" title=
          "DocBook-utils-0.6.14">DocBook-utils-0.6.14</a> and <a class=
          "ulink" href=
          "http://sourceforge.net/projects/docbook2x/">docbook2X</a> (both
          looked for by the <span class=
          "command"><strong>configure</strong></span> script but not used in
          the build)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/dejagnu">http://wiki.linuxfromscratch.org/blfs/wiki/dejagnu</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of DejaGnu
        </h2>
        <p>
          Install <span class="application">DejaGnu</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr &amp;&amp;
makeinfo --html --no-split -o doc/dejagnu.html doc/dejagnu.texi &amp;&amp;
makeinfo --plaintext       -o doc/dejagnu.txt  doc/dejagnu.texi</kbd>
</pre>
        <p>
          To test the results, issue <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install &amp;&amp;
install -v -dm755   /usr/share/doc/dejagnu-1.6.2 &amp;&amp;
install -v -m644    doc/dejagnu.{html,txt} \
                    /usr/share/doc/dejagnu-1.6.2</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">runtest</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/share/dejagnu</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="runtest" name="runtest"></a><span class=
                    "term"><span class=
                    "command"><strong>runtest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">DejaGnu</span> test
                    driver program. It is used to control what tests to run,
                    and variations on how to run them.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 12:25:07 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="cmake.html" title="CMake-3.16.4">Prev</a>
          <p>
            CMake-3.16.4
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="doxygen.html" title=
          "Doxygen-1.8.17">Next</a>
          <p>
            Doxygen-1.8.17
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
